package com.cjm.one.common.utils;

// 用于存储请求路径
public class RequestPathContextHolder {
    private static final ThreadLocal<String> context = new ThreadLocal<>();

    public static void setPath(String path) {
        context.set(path);
    }

    public static String getPath() {
        return context.get();
    }

    public static void clear() {
        context.remove();
    }
}
